* w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
authorKen Raeburn <raeburn@raeburn.org>
Tue, 21 May 2002 21:35:41 +0000 (21:35 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 21 May 2002 21:35:41 +0000 (21:35 +0000)
now, when the address is needed.

src/w32fns.c

index a19aa953f3781bf7c17aefc6fadd2d7f07bc4eab..6053e1d4ca3278959814db65b39429ba7475424f 100644 (file)
@@ -7252,7 +7252,7 @@ enum_font_maybe_add_to_list (lpef, logfont, match_charset, width)
       if (NILP (Fmember (font_name, lpef->list)))
        {
          *lpef->tail = Fcons (Fcons (build_string (buf), width), Qnil);
-         lpef->tail = &(XCDR (*lpef->tail));
+         lpef->tail = &(XCDR_AS_LVALUE (*lpef->tail));
          lpef->numFonts++;
        }
     }